<?php


class Utils
{

    /**
     * 获取登录加密salt
     * @return bool|string
     */
    public static function getLoginSlat()
    {
        //取随机10位字符串
        $strs = "QWERTYUIOPASDFGHJKLZXCVBNM1234567890qwertyuiopasdfghjklzxcvbnm";
        $name = substr(str_shuffle($strs), mt_rand(0, strlen($strs) - 11), 10);
        return $name;
    }

}